#!/usr/bin/env node

/*
	ES6-capable adaptive minifier
*/

!function () {
	'use strict';
	
	var xpi = require('jpm/lib/xpi');
	
	var dir = process.cwd();
	var packageJSON = require('../src/package.json');
	var addonID = packageJSON.name;
	var addonVersion = packageJSON.version;
	
	xpi(packageJSON, {
		xpiPath: dir
	}).then(function (xpi) {
		//console.log('Addon Built! ' + xpi);
	});
}();

// vim: set ts=4 noet ai ft=javascript
